﻿using System.Collections.Generic;
using System.ComponentModel;

namespace SmallBusinessKit.Models.Entities
{
    public class Item : BaseEntity
    {
        #region Properties

        public string   Title                           { get; set; }
        public string   Desc                            { get; set; }
        public decimal? Price                           { get; set; }

        [DisplayName("In Stock")]
        public bool?    IsInStock                       { get; set; }
        public bool     IsVisible                       { get; set; }
        public string   ImageUrl                        { get; set; }
        public string   ImageAltText                    { get; set; }
     // public int?     DisplayOrder                    { get; set; }    // defined in original but never used

        #endregion

        #region Navigation Properties

        public virtual ICollection<Category> Categories { get; set; }

        #endregion
    }
}
